package cn.net.cfss.fgbp.api.console.vo;

import cn.net.cfss.fgbp.api.console.constant.YesOrNoEnum;

import java.io.Serializable;
import java.util.List;

/**
 * @author oygq
 * @title: SysUserLoginVo
 * @description: 用户登录返回
 * @date 2019/5/7 10:22
 */
public class SysUserLoginVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private List<Long> roles;

    private Long userId;

    /**
     * 用户名
     */
    private String username;

    /**
     * 是否集团内部员工(0-否;1-是)
     */
    private YesOrNoEnum isInternalStaff;

    /**
     * 姓名
     */
    private String name;

    /**
     * 手机号
     */
    private String cellPhone;

    /**
     * 电子邮箱
     */
    private String email;

    /**
     * 所属服务商
     */
    private Long serviceProvider;

    /**
     * 用户所属项目id
     */
    private List<String> projectIds;

    public List<Long> getRoles() {
        return roles;
    }

    public void setRoles(List<Long> roles) {
        this.roles = roles;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public YesOrNoEnum getIsInternalStaff() {
        return isInternalStaff;
    }

    public void setIsInternalStaff(YesOrNoEnum isInternalStaff) {
        this.isInternalStaff = isInternalStaff;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCellPhone() {
        return cellPhone;
    }

    public void setCellPhone(String cellPhone) {
        this.cellPhone = cellPhone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Long getServiceProvider() {
        return serviceProvider;
    }

    public void setServiceProvider(Long serviceProvider) {
        this.serviceProvider = serviceProvider;
    }

    public List<String> getProjectIds() {
        return projectIds;
    }

    public void setProjectIds(List<String> projectIds) {
        this.projectIds = projectIds;
    }

    @Override
    public String toString() {
        return "SysUserLoginVo{" +
                "roles=" + roles +
                ", userId=" + userId +
                ", username='" + username + '\'' +
                ", isInternalStaff=" + isInternalStaff +
                ", name='" + name + '\'' +
                ", cellPhone='" + cellPhone + '\'' +
                ", email='" + email + '\'' +
                ", serviceProvider=" + serviceProvider +
                ", projectIds=" + projectIds +
                '}';
    }
}
